package com.example.myapplication.ui.news.NewsPresenter;

import com.example.myapplication.base.BasePresenter;
import com.example.myapplication.base.BaseView;
import com.example.myapplication.model.bean.NewsChannelTable;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by meishiyiyun on 2017/6/7.
 */

public interface NewChannelContract extends BasePresenter {
    interface View extends BaseView {
        void returnMineNewsChannels(List<NewsChannelTable> newsChannelsMine);
        void returnMoreNewsChannels(List<NewsChannelTable> newsChannelsMore);
    }
    interface Presenter extends BasePresenter<View> {
        void requestDataMineNewsChannels();
        void requestDataMoreNewsChannels(final ArrayList<NewsChannelTable> newsChannelTableList,ArrayList<NewsChannelTable> moreChannelTableList);

        void requestDataMoreNewsupata(final ArrayList<NewsChannelTable> newsChannelTableList,ArrayList<NewsChannelTable> moreChannelTableList);
    }
}
